package com.example.homeworkmanagement.mapper;

import com.example.homeworkmanagement.dto.ClassesAndStudentsDTO;
import com.example.homeworkmanagement.pojo.Students;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 拒绝加班
 * @since 2025-05-25
 */
public interface StudentsMapper extends BaseMapper<Students> {
    //根据学生id组合查询班级与个人信息
    ClassesAndStudentsDTO selectStudentAndClassInfo(String studentId);
    //根据班级id查询班级学生人数
    int selectStudentCountByClassId(String classId);
}
